package com.chinaunicom.create.factory.abstractfactory;

import com.chinaunicom.create.factory.BPizza;
import com.chinaunicom.create.factory.Pizza;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2022/7/18 22:09
 * Description:
 */
public class BJFactory implements AAbstractFactory{
    @Override
    public Pizza createPizza() {
        return new BPizza();
    }

    @Override
    public Plant createPlant() {
        return new Fruitage();
    }
}
